package com.tac.dao.wms;

import com.tac.pojo.wms.CarrierOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarrierOrderDao {

    Integer insert(CarrierOrder carrierOrder);

    Integer update(CarrierOrder carrierOrder);

    Integer delete(List<Integer> ids);

    List<CarrierOrder> getList(@Param("documentNumber") String documentNumber,
                               @Param("outboundOrderNumber") String outboundOrderNumber,
                               @Param("shippingNumber") String shippingNumber,
                               @Param("customer") String customer);

    CarrierOrder getCarrierOrder(Integer id);
}
